/* 全局重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

#root {
  height: 100%;
  width: 100%;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Ant Design 样式覆盖 */
.ant-btn-primary {
  background-color: #0960bd !important;
  border-color: #0960bd !important;
}

.ant-btn-primary:hover, 
.ant-btn-primary:focus {
  background-color: #2a7dc9 !important;
  border-color: #2a7dc9 !important;
}

.ant-btn-link {
  color: #0960bd !important;
}

.ant-btn-link:hover,
.ant-btn-link:focus {
  color: #2a7dc9 !important;
}

/* 创建API密钥按钮样式 */
button.ant-btn.ant-btn-primary.create-api-key-button {
  background-color: #2B81FF !important; 
  border-color: #2B81FF !important;
  font-weight: bold !important;
  box-shadow: 0 2px 6px rgba(43, 129, 255, 0.5) !important;
  color: white !important;
}

button.ant-btn.ant-btn-primary.create-api-key-button:hover {
  background-color: #4096ff !important;
  border-color: #4096ff !important;
}

button.ant-btn.ant-btn-primary.create-api-key-button:active {
  background-color: #0958d9 !important;
  border-color: #0958d9 !important;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
} 